import type { Entity, IWorld } from './ecs';
import { entityToObject } from './serialize';

export const debugEntity = (world: IWorld, e: Entity) => console.log(entityToObject(world, e));
